package org.hqs.nurse;

import org.hqs.feign.clients.DepartmentClient;
import org.hqs.feign.config.DefaultFeignConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("org.hqs.nurse.mapper")
@SpringBootApplication
@EnableFeignClients(clients = DepartmentClient.class,defaultConfiguration = DefaultFeignConfiguration.class)
public class NurseApplication {
    public static void main(String[] args) {
        SpringApplication.run(NurseApplication.class, args);
    }
}
